package com.fjec.market.es.repository;

import com.fjec.market.es.document.FarmerDocument;
import org.springframework.data.elasticsearch.repository.ElasticsearchCrudRepository;

import java.util.List;

public interface FarmerRepository extends ElasticsearchCrudRepository<FarmerDocument, Long> {
    List<FarmerDocument> findByShopName(String shopName);
}
